﻿using System;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace QuoteCenter.DataContract
{
    [DataContract()]
    class Market
    {
        private string _marketName;
        [DataMember]
        public string MarketName
        {
            get { return _marketName; }
            set { _marketName = value; }
        }
        private decimal _index;
        [DataMember]
        public decimal Index
        {
            get { return _index; }
            set { _index = value; }
        }
        private int _industryId;
        [DataMember]
        public int IndustryId
        {
            get { return _industryId; }
            set { _industryId = value; }
        }
        private decimal _dateNo;
        [DataMember]
        public decimal DateNo
        {
            get { return _dateNo; }
            set { _dateNo = value; }
        }
        private DateTime _transDate;
        [DataMember]
        public System.DateTime TransDate
        {
            get { return _transDate; }
            set { _transDate = value; }
        }
        private char _status;
        [DataMember]
        public char Status
        {
            get { return _status; }
            set { _status = value; }
        }
        private decimal _totalTrade;
        [DataMember]
        public decimal TotalTrade
        {
            get { return _totalTrade; }
            set { _totalTrade = value; }
        }
        private decimal _totalStock;
        [DataMember]
        public decimal TotalStock
        {
            get { return _totalStock; }
            set { _totalStock = value; }
        }
        private decimal _totalQtty;
        [DataMember]
        public decimal TotalQtty
        {
            get { return _totalQtty; }
            set { _totalQtty = value; }
        }
        private decimal _totalValue;
        [DataMember]
        public decimal TotalValue
        {
            get { return _totalValue; }
            set { _totalValue = value; }
        }
        private int _advances;
        [DataMember]
        public int Advances
        {
            get { return _advances; }
            set { _advances = value; }
        }
        private int _noChange;
        [DataMember]
        public int NoChange
        {
            get { return _noChange; }
            set { _noChange = value; }
        }
        private int _declines;
        [DataMember]
        public int Declines
        {
            get { return _declines; }
            set { _declines = value; }
        }
        private int _priorIndex;
        [DataMember]
        public int PriorIndex
        {
            get { return _priorIndex; }
            set { _priorIndex = value; }
        }
        private decimal _changed;
        [DataMember]
        public decimal Changed
        {
            get { return _changed; }
            set { _changed = value; }
        }
        private decimal _pctChanged;
        [DataMember]
        public decimal PctChanged
        {
            get { return _pctChanged; }
            set { _pctChanged = value; }
        }
        
        private decimal _ptTotalTrade;
        public decimal PtTotalTrade
        {
            get { return _ptTotalTrade; }
            set { _ptTotalTrade = value; }
        }
        private decimal _ptTotalQtty;
        public decimal PtTotalQtty
        {
            get { return _ptTotalQtty; }
            set { _ptTotalQtty = value; }
        }
        private decimal _ptTotalValue;
        public decimal PtTotalValue
        {
            get { return _ptTotalValue; }
            set { _ptTotalValue = value; }
        }
    }
}
